package 继承性.exer2;

public class CircIc {
    private double radius;

    public CircIc(){
        radius = 1;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }
    //求圆的 面积
    public double mianji(){
        return 3.14 * radius *radius;

    }
}
